package com.quanyan.user.mapper;

import com.quanyan.user.model.db.TbAppPromotionChannel;
import com.quanyan.user.model.db.TbAppPromotionChannelExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TbAppPromotionChannelMapper {
    int countByExample(TbAppPromotionChannelExample example);

    int deleteByExample(TbAppPromotionChannelExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(TbAppPromotionChannel record);

    int insertSelective(TbAppPromotionChannel record);

    List<TbAppPromotionChannel> selectByExample(TbAppPromotionChannelExample example);

    TbAppPromotionChannel selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") TbAppPromotionChannel record, @Param("example") TbAppPromotionChannelExample example);

    int updateByExample(@Param("record") TbAppPromotionChannel record, @Param("example") TbAppPromotionChannelExample example);

    int updateByPrimaryKeySelective(TbAppPromotionChannel record);

    int updateByPrimaryKey(TbAppPromotionChannel record);
}